package com.project.common.transfer;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.project.common.filter.Filter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public interface QueryRequest<
    K extends Serializable,
    F extends Filter<K, F>
    > {

    @JsonIgnore
    default List<ComparableString> getComparableStringList() {
        return new ArrayList<>();
    }

    @JsonIgnore
    default List<AbstractComparableNumber> getComparableNumberList() {
        return new ArrayList<>();
    }

    @JsonIgnore
    F getFilter();
}
